<link rel="stylesheet" href="__PUBLIC__/Plugs/editor/themes/default/default.css" />
<script charset="utf-8" src="__PUBLIC__/plugs/editor/kindeditor-min.js"></script>
<script charset="utf-8" src="__PUBLIC__/plugs/editor/lang/zh_CN.js"></script>

<script>
	//发表帖子js插件
	var editor;
	KindEditor.ready(function(K) {
		editor = K.create('.editor_id', {
				resizeType:0,
				allowImageRemote:true,
				shadowMode:true,
				allowPreviewEmoticons:true,
				allowFileManager:true,//允许远程访问图片资源
				/*afterUpload:function(url) {
					alert(url);
				},//上传文件的回调函数*/
				afterBlur:function(){this.sync();}/* 解决使用submit可以提交textarea的内容,而js不能提交内容, */
				//uploadJson:'{spUrl c=main a=uploadOk}',
				
		});		
		$('.ke-statusbar').css({
			'border':'none',
			'height':'0px',
			'background-color':'#ffffff'
		});
	});
	
</script>

<table width="90%" id="detail-table">
	<tbody>
		<tr>
			<td>
				<div class="mauto">
					<div style="width:670px; margin:auto;">
						<textarea id="editor_id" class="editor_id" name="goods_desc" style="width:700px;height:430px;"></textarea>
					</div>
				</div>	
			</td>
		</tr>
	</tbody>
</table>




